package com.huahua.api.repository.entertainment.website;

import com.huahua.api.entity.entertainment.website.pojo.EntertainmentWebsiteGenerateParam;
import org.springframework.data.repository.reactive.ReactiveCrudRepository;
import org.springframework.stereotype.Repository;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

@Repository
public interface EntertainmentWebsiteGenerateParamRepository extends ReactiveCrudRepository<EntertainmentWebsiteGenerateParam, Integer> {

    Mono<EntertainmentWebsiteGenerateParam> findByUuid(String uuid);

    Flux<EntertainmentWebsiteGenerateParam> findByTemplateId(String templateId);
}
